package cn.lger.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 联系页面中联系信息实体
 *
 * @author Pro
 * @date 2018-06-13.
 */

@ApiModel(description = "联系反馈实体")
public class Contact {

    @ApiModelProperty("联系反馈id")
    private int id;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("用户联系电话，必须11位数字")
    private String phone;
    @ApiModelProperty("联系反馈内容")
    private String content;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "Contact{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", phone='" + phone + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
